package com.chuck.basic.jwt;

import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;

@EnableConfigurationProperties(value = {
        JwtProperties.class,
})
public class JwtConfiguration {
    @Bean
    public TokenUtil getTokenUtil(JwtProperties jwtProperties){
        return new TokenUtil(jwtProperties);
    }
}
